package org.xp.judgeplatform.pojo.dto.ProblemSetDTO;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "添加题目到题目集请求")
public class ProblemSetAddItemDTO {

    @NotNull(message = "题目ID不能为空")
    @Schema(description = "题目ID", example = "1")
    private Long problemId;

    @Schema(description = "排序序号", example = "1")
    private Integer sortOrder;

    @Schema(description = "题目分数", example = "100")
    private Integer targetScore;
}
